import { axios as request  } from '@/utils/request'
import qs from 'qs'

export function getList({params}) {
  const id = params.id
  delete params.id
  return request({
    url: `api/site/${id}/company?` + qs.stringify(params, {indices: false, encode: false}),
    method: 'get'
  })
}